package demo;

import org.springframework.stereotype.Component;

@Component
public class Person {
    public  void sayHi(){
        System.out.println("Person:Hi!");

    }
}
